﻿using System.Windows.Controls;


namespace Airborne.ScrumPoker.Module.Developer.Views
{
    /// <summary>
    /// Interaction logic for TimerView.xaml
    /// </summary>
    public partial class TimerView : UserControl, ITimerView
    {
        public TimerView()
        {
            InitializeComponent();
        }

        public void ResetCounter(int value)
        {
            this.CountDown.Maximum = value;
        }
        
        public CountdownTimer Timer
        {
            get
            {
                return DataContext as CountdownTimer;
            }
            set
            {
                DataContext = value;
            }
        }

     
     
    }
}
